package net.diaowen.dwsurvey.entity;

import net.diaowen.common.base.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统字典表
 * @author keyuan(keyuan258@gmail.com)
 * @date 2012-10-21下午9:26:43
 *
 * https://github.com/wkeyuan/DWSurvey
 * http://dwsurvey.net
 */

@Entity
@Table(name="t_sys_dict")
public class SysDict extends IdEntity{

	//字典名称
	private String dictName;
	//字典编码
	private String dictCode;
	//字典描述
	private String description;
	//字典类型
	private String type;



	public SysDict(){

	}
	public SysDict(String dictName, String dictCode, String description,
                   String type) {
		this.dictName=dictName;
		this.dictCode=description;
		this.description=description;
		this.type=type;
	}


	public String getDictName() {
		return dictName;
	}

	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	public String getDictCode() {
		return dictCode;
	}

	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
